package edu.kjxy.day01.sameNum;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/1/31 19:12
 */
public class MyThread2 extends Thread {
    public MyThread2() {
        System.out.println("构造方法的打印:" + Thread.currentThread().getName());
    }

    @Override
    public void run() {
        System.out.println("run方法的打印：" + Thread.currentThread().getName());
    }
}
